/* 居家开始 */
.main {
    width: 100%;
    background-color: #f5f5f5;
    padding-bottom: 20px;
}

.w {
    width: 1240px;
    margin: 0 auto;
}

.main .contact {
    padding: 25px 10px;
    font-size: 14px;
}

.main .contact>a {
    color: #333;
}

.main .contact i {
    font-size: 12px;
}

.subList {
    margin-top: 20px;
    background-color: #fff;
}

.main h3 {
    font-size: 28px;
    color: #666;
    font-weight: 400;
    text-align: center;
    line-height: 100px;
}

.subList .list {
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
}

.subList .list li {
    width: 168px;
    height: 160px;
}

.subList .list li:hover p {
    color: #27ba9b;
}

.subList .list a {
    text-align: center;
    display: block;
    font-size: 16px;
}

.subList .list a img {
    width: 100px;
    height: 100px;
}

.subList .list a p {
    color: #333;
    line-height: 40px;
}

.main .goods {
    background-color: #fff;
    margin-top: 20px;
    position: relative;
}

.main .head a {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    margin-right: 4px;
    color: #999;
}

.main .head a:hover {
    color: #27ba9b;
}

.main .body {
    display: flex;
    justify-content: space-around;
    padding: 0 40px 30px;
}

.main .body a {
    display: block;
    width: 220px;
    padding: 20px 30px;
    text-align: center;
    color: #333;
}

.main .body a img {
    width: 160px;
    height: 160px;
}

.main .body a p {
    padding-top: 10px;
}

.main .body .name {
    font-size: 16px;
}

.main .body .desc {
    color: #999;
    font-size: 14px;
}

.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.main .body .price {
    color: #cf4444;
    font-size: 20px;
}

/* 居家结束 */
.hide {
    display: none;
}

html {
    scroll-behavior: smooth;
}